<?php
/**
 * Created by PhpStorm.
 * Author: Shadow
 * Date: 2022/4/2
 * Time: 3:18 下午
 * description: login.php
 */
?>

<link rel="stylesheet" href="/static/bootstrap-4.6.1-dist/css/bootstrap.css">
<script src="/static/bootstrap-4.6.1-dist/js/bootstrap.js"></script>

<center>
    <h2>2002A学习后台登录页面</h2>
    <form role="form" method="post" action="login" enctype="multipart/form-data">
        @csrf
        <div class="form-group">
            <label for="name">Username</label>
            <input type="text" class="form-inline" name="username"
                   placeholder="请输入标题" required>
        </div>
        <div class="form-group">
            <label for="name">Author</label>
            <input type="text" class="form-inline" name="code"
                   placeholder="请输入验证码" required>
            <button class="send">发送验证码</button>
        </div>

        <button type="submit" class="btn btn-default">提交</button>
    </form>
</center>

{{--前端倒计时 setTimeInval--}}
{{--<script>--}}
{{--    setTimeInterval()--}}
{{--</script>--}}

